package com.reg.mvctest.service.impl;

import com.reg.mvctest.service.CustomerRiskService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

/**
 * @Classname CustomerRiskServiceImpl
 * @Description TODO
 * @Date 2025/6/4 15:35
 * @Created by rgs
 */
@Service
@Slf4j
public class CustomerRiskServiceImpl implements CustomerRiskService {

    @Override
    public Map<String,Object> listCustomerRisk() {
        log.info("进入业务查询方法");
        Map<String,Object> dataMap = new HashMap<>();
        log.info("调用mapper查询数据库");
        dataMap.put("code",1008);
        dataMap.put("message","success");
        dataMap.put("data",2882);
        log.info("封装数据返回");
        return dataMap;
    }
}
